﻿using SqlSugar;

namespace Fibot.HYYY.K3Cloud.Wdt.Core.Entities;

[SugarTable("QAAW_T_WDT_StockoutEntry")]
public class QAAW_T_WDT_StockoutEntry
{


    [SugarColumn(IsPrimaryKey = true)]
    public int FEntryID { get; set; }

    public int FID { get; set; }

    /// <summary>
    /// 出库明细主键
    /// </summary>
    [SugarColumn(ColumnName = "Frec_id")]
    public int rec_id { get; set; }

    /// <summary>
    /// 出库单主键id
    /// </summary>
    [SugarColumn(ColumnName = "Fstockout_id")]
    public int stockout_id { get; set; }

    /// <summary>
    /// 商家编码
    /// </summary>
    [SugarColumn(ColumnName = "Fspec_no")]
    public string spec_no { get; set; }

    /// <summary>
    /// 数量
    /// </summary>
    [SugarColumn(ColumnName = "Fgoods_count")]
    public decimal goods_count { get; set; }

    /// <summary>
    /// 货品编号
    /// </summary>
    [SugarColumn(ColumnName = "Fgoods_no")]
    public string goods_no { get; set; }

    /// <summary>
    /// 来源组合装编码
    /// </summary>
    [SugarColumn(ColumnName = "Fsuite_no")]
    public string suite_no { get; set; }

    /// <summary>
    /// 货品数量
    /// </summary>
    [SugarColumn(ColumnName = "Fnum")]
    public decimal num { get; set; }

    /// <summary>
    /// 销售价
    /// </summary>
    [SugarColumn(ColumnName = "Fsell_price")]
    public decimal sell_price { get; set; }

    /// <summary>
    /// 成本价
    /// </summary>
    [SugarColumn(ColumnName = "Fcost_price")]
    public decimal cost_price { get; set; }

    /// <summary>
    /// 总折扣金额
    /// </summary>
    [SugarColumn(ColumnName = "Fdiscount")]
    public decimal discount { get; set; }

    /// <summary>
    /// 已支付金额
    /// </summary>
    [SugarColumn(ColumnName = "Fpaid")]
    public decimal paid { get; set; }

    [SugarColumn(ColumnName = "Fmarket_price")]
    public decimal market_price { get; set; }

    [SugarColumn(ColumnName = "Ftotal_amount")]
    public decimal total_amount { get; set; }
}
